﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TK.Character;
using UnityEngine;

namespace TK.Modifier
{
    class HPLimitModifier:Modifier
    {
        private float hpLimit;

        public HPLimitModifier(int id,Unit owner,float limit):base(id,owner)
        {
            hpLimit = limit;
        }

        public override void OnInit()
        {
            Owner.ModifyHPLimit += hpLimit;
        }

    }
}
